BlePeriph.GetEvents

This command returns a bitmask of all events that have occurred since the last call of BlePeriph.GetEvents.

Properties

Parameters (request frame)

None

Returned values (response frame)

Name Type/Size Description
EventMask Bit mask (32 bits) -
ConnectionStatusChanged Boolean (bit 0x80000000) Use BlePeriph.IsConnected to check the current connection status.
RFU Integer (bit mask area 0x7FFFFFE0) Zero padding
ValueChangedCharacteristicNdx4 Boolean (bit 0x00000010) Use BlePeriph.ReadCharacteristic to read the changed characteristic value.
ValueChangedCharacteristicNdx3 Boolean (bit 0x00000008) Use BlePeriph.ReadCharacteristic to read the changed characteristic value.
ValueChangedCharacteristicNdx2 Boolean (bit 0x00000004) Use BlePeriph.ReadCharacteristic to read the changed characteristic value.
ValueChangedCharacteristicNdx1 Boolean (bit 0x00000002) Use BlePeriph.ReadCharacteristic to read the changed characteristic value.
ValueChangedCharacteristicNdx0 Boolean (bit 0x00000001) Use BlePeriph.ReadCharacteristic to read the changed characteristic value.